<script type="text/javascript">
{literal}
    $(document).ready(function(){
        reloadMedicine();
    });
{/literal}
</script>
<!-- Filters -->
<div id="medicineFilterDiv" class="form_container" style='margin-bottom: 10px;'>
    <input type="hidden" name="ticketIdHdn" id="ticketIdHdn" value="{$ticketId}"/>
    <table style='width: 100%'>
        <tr>
            <td colspan="4">
                <input type="radio" name="filterRdb" id="filterDateRdb" value="byDate"><span class="label">{translate}View by date{/translate}</span>
                &nbsp;&nbsp;&nbsp;<input type="radio" name="filterRdb" id="filterAllRdb" value="all" checked="checked"><span class="label">{translate}View all{/translate}</span>
            </td>
            <td rowspan="2" align="right" valign="top" width="100px">
                <div id="actionButtonDiv" style="display: inline-table;">
                    <a href="javascript:reloadMedicine();"><img src="{$base_uri}/images/refresh.png"/></a> 
                </div>
                <div id="loaderDiv" style="display: none;">
                    <img src="{$base_uri}/images/ajax-loader.gif"/>
                </div> 
            </td>
        </tr>
        <tr>
            <td><span class="label">{translate}From date{/translate}</span></td>
            <td>
                <select name="startDate" id="startDate" style="width: 145px;">
                	{html_options options=$issueDates}
                </select>
            </td>
            <td><span class="label">{translate}To date{/translate}&nbsp;</span></td>
            <td>
                <select name="endDate" id="endDate" style="width: 145px;">
					{html_options options=$issueDates}
                </select>
            </td>
        </tr>
    </table>
</div>
<div align="right" style='margin-bottom: 10px;'>
    <input type="button" name="inputMedicineBtn" id="inputMedicineBtn" onclick='javascript:showInputMedicinePage();' value="&gt;&gt; {translate}Input medicine, materials{/translate} &gt;&gt;">
</div>

<!-- Detail view Content -->
<div id="medicineContentDiv">
    
</div>
